package com.chinasoft.class1.group1;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class YangBaoXing implements TrueWord {
    List<String> wordList = new ArrayList<String>();

    public YangBaoXing(){
        wordList.add("大坝跑刀");
        wordList.add("机密航天猛攻");
    }

    @Override
    public String getWord() {
        Random random = new Random();
        int index = random.nextInt(wordList.size());
        return wordList.get(index);
    }

    @Override
    public String getName() {
        return "杨宝兴";
    }
}
